﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using CooWork.Core;

namespace CooWork.Services
{
    public interface ITaskService
    {
        string updatePartners(List<string> tminus, List<string> tplus,int taskId);

        string updateWatchers(List<string> tminus, List<string> tplus, int taskId);

        Dictionary<int, TreeNode> GetCDepartment(int cid);

        void updateDepartment(TreeNode tnode, ref  Dictionary<int, TreeNode> ld, int cid);

        void delDepartment(TreeNode tnode, ref Dictionary<int, TreeNode> ld, int cid);


    }

}